function ccR_Rogue_CheckForMissingPoison()
	local x
	if # tblPGetMeleeEnemies > 0 then
		for x = 0, # tblPGetMeleeEnemies do
			local obj = tblPGetMeleeEnemies[x]
			if obj
			and obj:Exists()
			and Player:IsFacing(obj)
			then
				local vPoison = {GetSpellInfo("2818")}
				if (vPoison == nil or vPoison ~= "player") then
					return true
				else
					return false
				end
			end
		end
		return false
	else
		return false
	end					
end

function ccR_Rogue_ApplyMissingPoisonMutilate()
	local x
	if # tblPGetMeleeEnemies > 0 then
		for x = 0, # tblPGetMeleeEnemies do
			local obj = tblPGetMeleeEnemies[x]
			if obj
			and obj:Exists()
			and Player:IsFacing(obj)
			and ccrSpellCanAttack(RAKE, obj)
			then
				local vPoison = {GetSpellInfo("Deadly Poison")}
				if (vPoison == nil or vPoison ~= "player") then
					obj:CastSpellByName(GetSpellInfo(RAKE))
					return
				else
					return
				end
			end
		end
	else
		return
	end
	return
end
function ccR_Rogue_ApplyMissingPoisonDispatch()
	local x
	if # tblPGetMeleeEnemies > 0 then
		for x = 0, # tblPGetMeleeEnemies do
			local obj = tblPGetMeleeEnemies[x]
			if obj
			and obj:Exists()
			and Player:IsFacing(obj)
			and ccrSpellCanAttack(RAKE, obj)
			then
				local vPoison = {GetSpellInfo("Deadly Poison")}
				if (vPoison == nil or vPoison ~= "player") then
					obj:CastSpellByName(GetSpellInfo(RAKE))
					return
				else
					return
				end
			end
		end
	else
		return
	end
	return
end
function ccR_Rogue_ApplyMissingPoisonKnives()
local x
	if # tblPGetMeleeEnemies > 0 then
		for x = 0, # tblPGetMeleeEnemies do
			local obj = tblPGetMeleeEnemies[x]
			if obj
			and obj:Exists()
			and Player:IsFacing(obj)
			and ccrSpellCanAttack(RAKE, obj)
			then
				local vPoison = {GetSpellInfo("Deadly Poison")}
				if (vPoison == nil or vPoison ~= "player") then
					obj:CastSpellByName(GetSpellInfo(RAKE))
					return
				else
					return
				end
			end
		end
	else
		return
	end
	return
end